import router from 'umi/router';
import { Result, Button } from 'antd';
import styles from './index.less';
class showresult extends React.Component{


  handleReback = e => {
    e.preventDefault();
    console.log("hello");
    router.push({
                pathname: '/createimage',

            });
  };
  render(){

    return (
      <div className={styles.title}>
      <div className={styles.tail}>
        <Result
    status="success"
    title="Update success!!!"
    subTitle="welcome use the system."
    extra={[
      <Button type="primary" key="console" onClick={this.handleReback}>
        Go Console
      </Button>,
    ]}
  />
  </div>
  </div>
  )
  }
}
export default showresult;